package org.springblade.modules.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.repair.entity.ElevatorPrincipalUser;
import org.springblade.modules.repair.vo.UserBaseInfoVO;

import java.util.List;

public interface ElevatorPrincipalUserMapper extends BaseMapper<ElevatorPrincipalUser> {

	/**
	 * 根据电梯id查询责任人
	 * @param elevatorId
	 * @return
	 */
    List<UserBaseInfoVO> detailByElevatorId(@Param("elevatorId") Long elevatorId);
}
